
import React, { Component, createRef, createContext, useContext } from "react";
import type { ReactNode } from 'react'
import axios from 'axios'

export default class App extends Component {

    componentDidMount(): void {
        // axios.get('http://123.56.141.187:8001/goods/index?pagenum=1&pagesize=10').then(res => {
        //     console.log(res);
        // })

        axios.get('/goods/index?pagenum=1&pagesize=10').then(res => {
            console.log(res);
        })

    }

    render() {
        return <>
            <div>
                <h1>axios</h1>


            </div>
        </>
    }

}